package app.common.utils.cjt.ao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 销货单删除
 * @author feizns
 * @since 2023/3/31
 */
@NoArgsConstructor
@Data
public class SaleDeliveryDeleteAo {

    /**
     * param
     */
    private Param param;

    /**
     * Param
     */
    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    public static class Param {
        /**
         * externalCode
         */
        private String externalCode;
    }

    public static SaleDeliveryDeleteAo of(String externalCode) {
        SaleDeliveryDeleteAo ao = new SaleDeliveryDeleteAo();
        ao.setParam(new Param(externalCode));
        return ao;
    }

}
